//package com.example.binpacking.service.Impl;
//
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.example.binpacking.mapper.OrderMessageMapper;
//import com.example.binpacking.model.OrderMessage;
//import com.example.binpacking.service.OrderMessageService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.springframework.transaction.annotation.Transactional;
//
//import java.util.List;
//@Service
//@Transactional
//public class OrderMessageServiceImpl implements OrderMessageService {
//    @Autowired
//    private OrderMessageMapper orderMessageMapper;
//
//    public List<OrderMessage> findOrderByT(String startTime, String endTime) {
//        QueryWrapper<OrderMessage> queryWrapper = new QueryWrapper<>();
//        queryWrapper.ge("ship_time", startTime)
//                .le("ship_time", endTime);
//        List<OrderMessage> list= orderMessageMapper.selectList(queryWrapper);
//        return list;
//    }
//    public List<OrderMessage> findOrderByTime(String startTime, String endTime) {
//
//        List<OrderMessage> list= orderMessageMapper.findOrderByTime(startTime,endTime);
//        return list;
//    }
//
//    @Override
//    public List<OrderMessage> selectByTime() {
//        List<OrderMessage> list = orderMessageMapper.selectByTime();
//        return list;
//    }
//}
